package fms.common;

public class UserInfo {

	private String userID = "";

	private String userName = "";

	private String userPass = "";

	private int userDpmt = 1;

	private int userSex = 1;

	private String userPhone="";
	
	private String userAdd="";

	public String getUserAdd() {
		return userAdd;
	}

	public void setUserAdd(String userAdd) {
		this.userAdd = userAdd;
	}

	public int getUserDpmt() {
		return userDpmt;
	}

	public void setUserDpmt(int userDpmt) {
		this.userDpmt = userDpmt;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public int getUserSex() {
		return userSex;
	}

	public void setUserSex(int userSex) {
		this.userSex = userSex;
	}
	
	public String toString(){
        StringBuffer sb = new StringBuffer();
        sb.append(UserInfo.class.getName());
        sb.append(":");
        sb.append(" [userID]=");
        sb.append(this.getUserID());
        sb.append(" [userSex]=");
        sb.append(this.getUserSex());
        sb.append(" [userName]=");
        sb.append(this.getUserName());
        sb.append(" [userPhone]=");
        sb.append(this.getUserPhone());
        sb.append(" [userDpmt]=");
        sb.append(this.getUserDpmt());
        sb.append(" [userPwd]=");
        sb.append(this.getUserPass());
        sb.append(" [userAdd]=");
        sb.append(this.getUserAdd());
        return null;
    }
	
	public static void main(String[] args) {
		System.out.println("OK!");
	}
}
